﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DataModels.Entities.Base
{

    [SugarTable("customer")]
    public class Customer
    {
        [SugarColumn(IsPrimaryKey = true, Length = 36, ColumnName = "UUID")]
        public Guid UUID { get; set; }

        public string Tel1 { get; set; }
        public DateTime? Birthday { get; set; }
        public string RegisteredAddr { get; set; }
        public string Tel2 { get; set; }
        public string CustDesc { get; set; }
        public string CardNbr { get; set; }
        public string Industry { get; set; }
        public string PersionId { get; set; }
        public int? CusterClass { get; set; }
        public string PicUrl { get; set; }
        public string CustSource { get; set; }
        public string CreditCode { get; set; }
        public int? CustId { get; set; }
        public string Email { get; set; }
        public DateTime? CreateDate { get; set; }
        public string Address { get; set; }
        public int? Sex { get; set; }
        public string CardType { get; set; }
        public string CustLevel { get; set; }
        public string ThirdCustId { get; set; }
        public string FaceContent { get; set; }
        public string UserId { get; set; }
        public string WorkTel { get; set; }
        public string CustCode { get; set; }
        public DateTime? EstablishDate { get; set; }
        public DateTime? ChangeTime { get; set; }
        public string FaceUrl { get; set; }
        public string Name { get; set; }
        public string PicContent { get; set; }
        public int? OrganId { get; set; }
        public string CustStatus { get; set; }
        public string VXOpenId { get; set; }
        public string mpopen_id { get; set; }
        public string dataSources { get; set; }

        [SugarColumn(IsIgnore = true)]
        public string Phone { get; set; }

        [SugarColumn(IsIgnore = true)]
        public int HouseId { get; set; }
    }
}
